package cn.ymjr.business.dao;

import cn.ymjr.business.entity.SysUserStar;
import cn.ymjr.sys.config.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Tiny
 * @create 2022/4/7 14:47
 */
@Mapper
public interface SysUserStarMapper extends BaseMapper<SysUserStar> {
    SysUserStar selectByUserInfo(@Param(value = "userId") Integer userId,@Param(value = "infoId") Integer infoId);
    List<SysUserStar> selectByUser(Integer userId);
}
